import request from '@/utils/request'

export const hello1 = async(parameter1, parameter2 )=>{
    try {
        const response = await request('/mysvc/api/v1/hello1', {
            method: 'POST',
            data: {
                parameter1: parameter1,
                parameter2: parameter2
            }
        }); 
        console.log("request success:", response);
    } catch (err) {
        console.log("request failed!", err)
    } 
  
}
export const hello2 =async(parameter1, parameter2 )=>{
    try {
        const response = await request('/mysvc/api/v1/hello2', {
            method: 'POST',
            data: {
                parameter1: parameter1,
                parameter2: parameter2
            }
        }); 

        console.log("request success:", response);
    } catch (err) {
        console.log("request failed!", err)
    } 
  
}
export const hello3 = async(parameter1)=>{
    try {
        const response = await request('/mysvc/api/v1/hello3', {
            method: 'POST',
            data: {
                parameter1: parameter1
            }
        }); 
        console.log("request success:", response);
    } catch (err) {
        console.log("request failed!", err)
    } 
  
}